package com.group.yztcedu.playlive.main.home;

import com.group.yztcedu.playlive.base.IBaseModel;
import com.group.yztcedu.playlive.base.IBasePresenter;
import com.group.yztcedu.playlive.base.IBaseView;
import com.group.yztcedu.playlive.bean.HomeBean;
import com.group.yztcedu.playlive.bean.HomeDataBean;
import com.group.yztcedu.playlive.utils.HttpUtils;

import java.util.HashMap;


public class HomeContract {
    public interface View extends IBaseView{
        void onSuccessGetHomeData(HomeDataBean homeDataBeen);
        void onFailGetHomeData(String msg);
    }
    public interface  Model extends IBaseModel{
        void getHomeData(HashMap<String,String> params, HttpUtils.HttpCallBack<HomeBean> callBack);
    }
    public interface Presenter extends IBasePresenter{
        void initData(HashMap<String,String> params);

    }

}
